//
//  CFBTHomePageNavVC.m
//  半糖框架
//
//  Created by afro on 15/12/11.
//  Copyright © 2015年 afro. All rights reserved.
//

#import "CFBTHomePageNavVC.h"

@interface CFBTHomePageNavVC ()

@end

@implementation CFBTHomePageNavVC

+ (void)initialize {
    
    if (self.class == [CFBTHomePageNavVC class]) {
        
        UINavigationBar *homePageNavBar = [UINavigationBar appearanceWhenContainedIn:self, nil];
        
        // 清空导航条背景图片 ,传入一个空图片对象
        [homePageNavBar setBackgroundImage:[[UIImage alloc] init] forBarMetrics:UIBarMetricsDefault];
        
        // 清空阴影的那条线
        [homePageNavBar setShadowImage:[[UIImage alloc] init]];

    }
}

@end
